Skip to content

refactor(*): configured eslint#10

Open
LironHazan wants to merge 1 commit intoTypeStrong:masterfrom
LironHazan:migrate-to-eslint
Open

refactor(*): configured eslint#10
LironHazan wants to merge 1 commit intoTypeStrong:masterfrom
LironHazan:migrate-to-eslint

Conversation

@LironHazan
Copy link
Copy Markdown
Collaborator

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 9, 2021

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@@ -0,0 +1,173 @@
{
"env": {
"browser": true,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can toggle to false..

@@ -1,4 +1,5 @@
import {MethodToStub} from "./MethodToStub";
import {Mocker} from "./Mock";
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove..

foo.getBar();
foo.sumTwoNumbers(2, 3);
verify(mockedFoo.getBar()).calledBefore(mockedFoo.sumTwoNumbers(2, 3));
verify(mockedFoo.getBar()).calledBefore(mockedFoo.sumTwoNumbers(2, 3) as any);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to go deeper on that.. cal before should expect a MethodToStub not any but mockedFoo.sumTwoNumbers(2, 3) doesn't return MethodToStub so I had to cast..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant